package com.eascs.admin.o2o.operation.operations;

import com.eascs.app.dao.PageResult;
import com.eascs.site.page.PaginationInfo;

public interface Operation {

	/**
	 * 操作类型
	 * @return
	 */
	public String getOperation();

	/**
	 * 页面标题
	 * @return
	 */
	public String getTitle();

	/**
	 * 菜单编码
	 * @return
	 */
	public String getMenuCode();

	/**
	 * 配置的Sql
	 * @return
	 */
	public String getSql();

	/**
	 * 展示的视图
	 * @return
	 */
	public String getView();

	/**
	 * 构建PaginationInfo
	 * @param pageResult
	 * @return
	 */
	public PaginationInfo buildPaginationInfo(PageResult<Object[]> pageResult);

}
